.dux-form {
  margin-top: 10px;
  font-size: 1.4rem;
  .am-input-group {
    border-top: 1px solid #ddd;
    &:first-child {
      border-top: 1px solid #ddd;
    }
    .am-input-group-label {
      background: #fff;
      border: none;
      color: #666;
      height: 42px;
      font-size: 1.4rem;
      a {
        font-size: 1.4rem;
      }
    }
    .am-input-group-btn {
      >.am-btn {
        height: 42px;
        border: none;
      }
    }
    .am-form-field {
      border: none;
      min-height: 42px;
      height: auto;
      padding: 10px 0;
      padding-right:20px;
      &:focus {
        outline: none;
      }
      font-size: 1.4rem;
    }
    .am-form-content {
      background: #fff;
      line-height: 22px;
      font-size: 1.4rem;
      display: table-cell;
      padding: 10px;
      color: #999;
    }
  }
  input[type=number], input[type=search], input[type=text], input[type=password], input[type=datetime], input[type=datetime-local], input[type=date], input[type=month], input[type=time], input[type=week], input[type=email], input[type=url], input[type=tel], input[type=color], select, textarea, .am-form-field {
    font-size: 1.4rem;
  }

  input[type=number][disabled], input[type=number][readonly], input[type=search][disabled], input[type=search][readonly], input[type=text][disabled], input[type=text][readonly], input[type=password][disabled], input[type=password][readonly], input[type=datetime][disabled], input[type=datetime][readonly], input[type=datetime-local][disabled], input[type=datetime-local][readonly], input[type=date][disabled], input[type=date][readonly], input[type=month][disabled], input[type=month][readonly], input[type=time][disabled], input[type=time][readonly], input[type=week][disabled], input[type=week][readonly], input[type=email][disabled], input[type=email][readonly], input[type=url][disabled], input[type=url][readonly], input[type=tel][disabled], input[type=tel][readonly], input[type=color][disabled], input[type=color][readonly], select[disabled], select[readonly], textarea[disabled], textarea[readonly], .am-form-field[disabled], .am-form-field[readonly], fieldset[disabled] input[type=number], fieldset[disabled] input[type=search], fieldset[disabled] input[type=text], fieldset[disabled] input[type=password], fieldset[disabled] input[type=datetime], fieldset[disabled] input[type=datetime-local], fieldset[disabled] input[type=date], fieldset[disabled] input[type=month], fieldset[disabled] input[type=time], fieldset[disabled] input[type=week], fieldset[disabled] input[type=email], fieldset[disabled] input[type=url], fieldset[disabled] input[type=tel], fieldset[disabled] input[type=color], fieldset[disabled] select, fieldset[disabled] textarea, fieldset[disabled] .am-form-field {
    background: #fff;
    color: #999;
  }
}

.dux-form-ad {
  input[type=number], input[type=search], input[type=text], input[type=password], input[type=datetime], input[type=datetime-local], input[type=date], input[type=month], input[type=time], input[type=week], input[type=email], input[type=url], input[type=tel], input[type=color], select, textarea, .am-form-field {
    border: none !important;;
    box-shadow: 0 1px 3px #ccc !important;
    background: #fff;
    padding: 8px;
  }

  .am-form-group {
    padding: 0 10px;
    margin-bottom: 10px;
    .am-text-content {
      padding: 8px;
      border: 1px solid #fff;
      box-shadow: 0 1px 3px #ccc;
      background: #fff;
    }
  }
  .am-form-label {
    small {
      font-size: 1.2rem;
      color: #999;
      font-weight: normal;
    }
  }

}

.dux-form-right {
  .am-form-field {
    text-align: right;
  }
  select.am-form-field {
    padding-right: 20px;
    direction: rtl;
  }
  .am-form-content {
    text-align: right;
  }
}
